interface TarbarItem {
  name?: string
  path: string
  icon: string
  iconActive?: string
}

export const tarbarProps = {
  activeColor: {
    type: String,
    default: '',
  },
  color: {
    type: String,
    default: '',
  },
  disabled: { type: Boolean },
  /**
   * Text before icon.
   */
  list: { type: Array as PropType<TarbarItem[]>, default: () => [] },
  /**
   * Text after icon.
   */
  postIcon: { type: String },
  /**
   * preIcon and postIcon icon size.
   * @default: 14
   */
  iconSize: { type: Number, default: 14 },
}
